/**
浮动
 */

import React,{ Component } from 'react';
import {
Text,
View,
ScrollView,
Image,
} from 'react-native'
import {styles}  from '../styles/listdetail';
import Swiper from 'react-native-swiper'

const Item = (props) =>  {
    const {  housePrice,address, onPress } = props;

	 	return (
		    <View style={[styles.container,styles.titleMargin]}>
		    	<Text style={styles.title}>
		    		¥<Text style={styles.titleMoney}>{housePrice}</Text>/月
		    	</Text>
		    	<Text style={styles.location}>
		    		<Image style={styles.locationImg}
		                source={require('../images/location.png')}
		            />
					{address}
		    	</Text>
		    </View>
		)

	
};
export default Item